package com.pb.wkflow.api.mapper;

import com.pb.wkflow.api.entity.ProcInstanceEntity;
import com.pb.wkflow.api.query.ProcInstanceQuery;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author 苗益辉
 * @date 2022/12/23 10:04
 */
@Mapper
@Repository
public interface ProcInstanceMapper {

    List<ProcInstanceEntity> findTodoList(ProcInstanceQuery procInstanceQuery);

    long queryTodoListCount(ProcInstanceQuery procInstanceQuery);

    List<ProcInstanceEntity> findDoneList(ProcInstanceQuery procInstanceQuery);

    long queryDoneListCount(ProcInstanceQuery procInstanceQuery);
}
